<include file="public:header" />

<!--会员列表-->

<div class="pad_10">

    <form name="searchform" method="get" >

    <table width="100%" cellspacing="0" class="search_form">

        <tbody>

            <tr>

                <td>

                <div class="explain_col">

                    <input type="hidden" name="g" value="admin" />

                    <input type="hidden" name="m" value="order" />

                    <input type="hidden" name="a" value="refund" />

                    <input type="hidden" name="menuid" value="{$menuid}" />

					退款ID：<input name="id" type="text" class="input-text" size="6" value="{$search.id}" />&nbsp;&nbsp;

					订单号：<input name="order_id" type="text" class="input-text" size="15" value="{$search.order_id}" />&nbsp;&nbsp;

					用户名称：<input name="uname" type="text" class="input-text" size="15" value="{$search.uname}" />&nbsp;&nbsp;

					<div style="height:8px;"></div>

					时间：

                    <input type="text" name="stime" id="J_time_start" class="date J_date_picker" size="10" value="{$search.stime}">

                    -

                    <input type="text" name="etime" id="J_time_end" class="date J_date_picker" size="10" value="{$search.etime}">

                    &nbsp;&nbsp;状态：

					<select name="status">

						<option value="">-{:L('all')}-</option>

						<option value="1" <if condition="$search.status eq '1'">selected="selected"</if>>未处理</option>

						<option value="2" <if condition="$search.status eq '2'">selected="selected"</if>>已处理</option>

					</select>

					&nbsp;&nbsp;操作人：

                    <input name="admin_name" type="text" class="input-text" size="15" value="{$search.admin_name}" />

                    <input type="submit" name="search" class="btn" value="搜索" />

                </div>

                </td>

            </tr>

        </tbody>

    </table>

    </form>



    <div class="table_list">

    <table width="100%" cellspacing="0">

        <thead>

            <tr>

                <th width="25"><input type="checkbox" id="checkall_t" class="J_checkall"></th>

                <th width="20">ID</th>

                <th width="80">订单号</th>

                <th width="80">用户名称</th>

				<th width="150" align="left">退款备注</th>

                <th width="100">申请时间</th>

                <th width="100">状态</th> 

                <th width="80">操作人</th>

				<th width="80">&nbsp;</th>

            </tr>

        </thead>

    	<tbody>

            <volist name="list" id="val" >

            <tr>

                <td align="center"><input type="checkbox" class="J_checkitem" value="{$val.id}"></td>

                <td align="center">{$val.id}</td>

				<td align="center">{$val.order_id}<if condition="$val['gid']">({$val.gid})</if></td>

                <td align="center" >{$val.uname}</td>

				<td align="left" >{$val.remark}</td>

				<td align="center">{$val.add_time}</td>

                <td align="center"><if condition="$val.status eq 2">已处理<else /><font color=red>未处理</font></if></td>

				<td align="center">{$val.admin_name}</td>

				<td align="center"><if condition="$val.status eq 1"><a class="J_showdialog" href="javascript:;" data-uri="{:u('order/refund_confirm', array('id'=>$val['id'], 'menuid'=>$menuid))}" data-title="确认退款" data-id="refund_confirm" data-width="400">确认退款</a></if></td>

            </tr>

            </volist>

    	</tbody>

    </table>

    <div class="btn_wrap_fixed">

        <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">{:L('select_all')}/{:L('cancel')}</label>

        <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:U('order/refund_delete',array('id'=>$r['id']))}" data-name="id" data-msg="{:L('confirm_delete')}" value="{:L('delete')}" />

        <div id="pages">{$page}</div>

    </div>



    </div>

</div>

<include file="public:footer" />

</body>

</html>